import { defineConfig } from "vitepress"

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "Purchasing Components",
  description: "基于Hwork组件库打造的通用高级组件库",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    outline: {
      level: "deep",
    },

    nav: [
      { text: "主页", link: "/" },
      { text: "快速开始", link: "/quick-start" },
      { text: "组件文档", link: "/components" },
      { text: "参与贡献", link: "/development" },
    ],

    sidebar: [
      { text: "快速开始", link: "/quick-start" },
      { text: "组件文档", link: "/components" },
      { text: "参与贡献", link: "/development" },
    ],

    socialLinks: [
      {
        icon: "gitlab",
        link: "https://git.haier.net/10138265/hdy/purchasing-components",
      },
    ],
  },
})
